#include <signal.h>
#include "Server.h"
#include "Connect.h"
#include "Log.h"

class EchoServer{
public:
	EchoServer(const std::string name, const std::string ip, const int port);
	int taskExecute(sevent::Connect *c);

	void start(int num){_server.start(num);}
	void wait(){_server.wait();}
private:
	sevent::Server _server;
};


